import { IMessageHandle,IMessageStruct } from "./msgHandleMg";

export class CompletePayMessagehandle implements IMessageHandle {
    get MessageName() { return "completePay"; }
    get HandleName() { return "CompletePayMessagehandle"; }
    OnReceived(sender, args: IMessageStruct) {
        let tableId = args.body;
        this.OnMessage && this.OnMessage(tableId);
    }
    OnMessage: (id: string) => void;
}